package del3;

public class TextCell extends Cell{

    private String text;

    public TextCell(String text) {
    	this.text = text;
    }
    
	@Override
    public double getNumberValue(){
        throw new IllegalStateException("getNumberValue should not be called on a String");
    }

    public String toString() {
        return text;
    }
}
